package be.blindTest.repository;

import java.util.List;

import org.springframework.stereotype.Repository;
import org.springframework.transaction.annotation.Transactional;

import be.blindTest.model.User;
@Repository
@SuppressWarnings("unchecked")
@Transactional (readOnly = true)
public class UserRepository extends BaseRepository<User>{
	
	
	public List<User> findAll(){
		
		return em.createQuery("SELECT u from user u ").getResultList();
	}
	

	
	
}
